//
//  NSDate+PLExtension.m
//  PlatformCommon
//
//  Created by LiXiebin on 2019/5/30.
//

#import "NSDate+PLExtension.h"

@implementation NSDate (PLExtension)

- (NSString *)pl_toStringWithFormat:(NSString *)format{
    NSDateFormatter *formatter = [[NSDateFormatter alloc] init];
    formatter.dateFormat = format;
    return [formatter stringFromDate:self];
}

@end
